#include<iostream>
#include<cstring>
using namespace std;
typedef unsigned int ut;

int main(){
	freopen("input.txt","r",stdin);
	string s;
	cin>>s;
	
	int excursion=0;
	char flag;
	string data;
	for(ut i=0;i<s.length();i++){
		if(s[i]-'0'>=0&&s[i]-'0'<=9){
			data+=s[i];
		}
		if(s[i]=='E'){
			flag=s[i+1];
			for(ut j=i+2;j<s.length();j++){
				excursion*=10;
				excursion+=s[j]-'0';
			}
			break;
		}
		
	}
	// cout<<endl;
	// cout<<data<<endl;
	// cout<<excursion<<endl;
	// cout<<flag<<endl;
	(s[0]=='-')?cout<<'-':cout<<"";
	if(flag=='-'){
		if(excursion==0){
			cout<<data[0]<<".";
			for(ut i=1;i<data.length();i++) cout<<data[i];
		}
		else{

			cout<<0<<".";
			for(ut i=1;i<excursion;i++){
				cout<<"0";
			}
			cout<<data;

		}

	}else if(flag=='+'){
		size_t i=0;
		while(i<data.length()){
			cout<<data[i];
			if(i==excursion&&data.length()-1!=excursion) cout<<".";
			i++;
		}
		for(int j=i;j<=excursion;j++){
			cout<<"0";
		}
	}else{
		cout<<data[0]<<".";
		for(size_t i=1;i<data.length();i++) cout<<data[i];

	}
	

	return 0;

}